package STUDENT.TRANNGUYENQUAN.OOPs.OBJECT_AND_CLASSES.Octagon;

public class Models {
	public double Area(Octagon oct) {
		return (2 + 4 / Math.sqrt(2)) * oct.getSide() * oct.getSide();
	}

	public double Perimeter(Octagon oct) {
		return 8 * oct.getSide();
	}
}
